3.6.96 \(\int \frac {a+c x^2}{(d+e x)^{5/2}} \, dx\) [596]

Optimal. Leaf size=59 \[ -\frac {2 \left (c d^2+a e^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {4 c d}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3} \]

[Out]

-2/3*(a*e^2+c*d^2)/e^3/(e*x+d)^(3/2)+4*c*d/e^3/(e*x+d)^(1/2)+2*c*(e*x+d)^(1/2)/e^3

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {711} \begin {gather*} -\frac {2 \left (a e^2+c d^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {2 c \sqrt {d+e x}}{e^3}+\frac {4 c d}{e^3 \sqrt {d+e x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + c*x^2)/(d + e*x)^(5/2),x]

[Out]

(-2*(c*d^2 + a*e^2))/(3*e^3*(d + e*x)^(3/2)) + (4*c*d)/(e^3*Sqrt[d + e*x]) + (2*c*Sqrt[d + e*x])/e^3

Rule 711

Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[ExpandIntegrand[(d + e*x)^m*(a + c*
x^2)^p, x], x] /; FreeQ[{a, c, d, e, m}, x] && NeQ[c*d^2 + a*e^2, 0] && IGtQ[p, 0]

Rubi steps

\begin {align*} \int \frac {a+c x^2}{(d+e x)^{5/2}} \, dx &=\int \left (\frac {c d^2+a e^2}{e^2 (d+e x)^{5/2}}-\frac {2 c d}{e^2 (d+e x)^{3/2}}+\frac {c}{e^2 \sqrt {d+e x}}\right ) \, dx\\ &=-\frac {2 \left (c d^2+a e^2\right )}{3 e^3 (d+e x)^{3/2}}+\frac {4 c d}{e^3 \sqrt {d+e x}}+\frac {2 c \sqrt {d+e x}}{e^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 46, normalized size = 0.78 \begin {gather*} -\frac {2 \left (c d^2+a e^2-6 c d (d+e x)-3 c (d+e x)^2\right )}{3 e^3 (d+e x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + c*x^2)/(d + e*x)^(5/2),x]

[Out]

(-2*(c*d^2 + a*e^2 - 6*c*d*(d + e*x) - 3*c*(d + e*x)^2))/(3*e^3*(d + e*x)^(3/2))

________________________________________________________________________________________

Maple [A]
time = 0.41, size = 47, normalized size = 0.80

method result size
gosper \(-\frac {2 \left (-3 c \,e^{2} x^{2}-12 c d e x +e^{2} a -8 c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) \(40\)
trager \(-\frac {2 \left (-3 c \,e^{2} x^{2}-12 c d e x +e^{2} a -8 c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}} e^{3}}\) \(40\)
risch \(\frac {2 c \sqrt {e x +d}}{e^{3}}-\frac {2 \left (-6 c d e x +e^{2} a -5 c \,d^{2}\right )}{3 e^{3} \left (e x +d \right )^{\frac {3}{2}}}\) \(45\)
derivativedivides \(\frac {2 c \sqrt {e x +d}+\frac {4 d c}{\sqrt {e x +d}}-\frac {2 \left (e^{2} a +c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}}{e^{3}}\) \(47\)
default \(\frac {2 c \sqrt {e x +d}+\frac {4 d c}{\sqrt {e x +d}}-\frac {2 \left (e^{2} a +c \,d^{2}\right )}{3 \left (e x +d \right )^{\frac {3}{2}}}}{e^{3}}\) \(47\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^2+a)/(e*x+d)^(5/2),x,method=_RETURNVERBOSE)

[Out]

2/e^3*(c*(e*x+d)^(1/2)+2*d*c/(e*x+d)^(1/2)-1/3*(a*e^2+c*d^2)/(e*x+d)^(3/2))

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 51, normalized size = 0.86 \begin {gather*} \frac {2}{3} \, {\left (3 \, \sqrt {x e + d} c e^{\left (-2\right )} + \frac {{\left (6 \, {\left (x e + d\right )} c d - c d^{2} - a e^{2}\right )} e^{\left (-2\right )}}{{\left (x e + d\right )}^{\frac {3}{2}}}\right )} e^{\left (-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)/(e*x+d)^(5/2),x, algorithm="maxima")

[Out]

2/3*(3*sqrt(x*e + d)*c*e^(-2) + (6*(x*e + d)*c*d - c*d^2 - a*e^2)*e^(-2)/(x*e + d)^(3/2))*e^(-1)

________________________________________________________________________________________

Fricas [A]
time = 3.11, size = 58, normalized size = 0.98 \begin {gather*} \frac {2 \, {\left (12 \, c d x e + 8 \, c d^{2} + {\left (3 \, c x^{2} - a\right )} e^{2}\right )} \sqrt {x e + d}}{3 \, {\left (x^{2} e^{5} + 2 \, d x e^{4} + d^{2} e^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)/(e*x+d)^(5/2),x, algorithm="fricas")

[Out]

2/3*(12*c*d*x*e + 8*c*d^2 + (3*c*x^2 - a)*e^2)*sqrt(x*e + d)/(x^2*e^5 + 2*d*x*e^4 + d^2*e^3)

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 168 vs. \(2 (61) = 122\).
time = 0.38, size = 168, normalized size = 2.85 \begin {gather*} \begin {cases} - \frac {2 a e^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {16 c d^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {24 c d e x}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} + \frac {6 c e^{2} x^{2}}{3 d e^{3} \sqrt {d + e x} + 3 e^{4} x \sqrt {d + e x}} & \text {for}\: e \neq 0 \\\frac {a x + \frac {c x^{3}}{3}}{d^{\frac {5}{2}}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**2+a)/(e*x+d)**(5/2),x)

[Out]

Piecewise((-2*a*e**2/(3*d*e**3*sqrt(d + e*x) + 3*e**4*x*sqrt(d + e*x)) + 16*c*d**2/(3*d*e**3*sqrt(d + e*x) + 3
*e**4*x*sqrt(d + e*x)) + 24*c*d*e*x/(3*d*e**3*sqrt(d + e*x) + 3*e**4*x*sqrt(d + e*x)) + 6*c*e**2*x**2/(3*d*e**
3*sqrt(d + e*x) + 3*e**4*x*sqrt(d + e*x)), Ne(e, 0)), ((a*x + c*x**3/3)/d**(5/2), True))

________________________________________________________________________________________

Giac [A]
time = 4.98, size = 48, normalized size = 0.81 \begin {gather*} 2 \, \sqrt {x e + d} c e^{\left (-3\right )} + \frac {2 \, {\left (6 \, {\left (x e + d\right )} c d - c d^{2} - a e^{2}\right )} e^{\left (-3\right )}}{3 \, {\left (x e + d\right )}^{\frac {3}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^2+a)/(e*x+d)^(5/2),x, algorithm="giac")

[Out]

2*sqrt(x*e + d)*c*e^(-3) + 2/3*(6*(x*e + d)*c*d - c*d^2 - a*e^2)*e^(-3)/(x*e + d)^(3/2)

________________________________________________________________________________________

Mupad [B]
time = 0.04, size = 44, normalized size = 0.75 \begin {gather*} \frac {6\,c\,{\left (d+e\,x\right )}^2-2\,a\,e^2-2\,c\,d^2+12\,c\,d\,\left (d+e\,x\right )}{3\,e^3\,{\left (d+e\,x\right )}^{3/2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + c*x^2)/(d + e*x)^(5/2),x)

[Out]

(6*c*(d + e*x)^2 - 2*a*e^2 - 2*c*d^2 + 12*c*d*(d + e*x))/(3*e^3*(d + e*x)^(3/2))

________________________________________________________________________________________